<template>
	<view class="zui-text" :style="'font-size:'+size+';color:'+ color+';'">
			<slot></slot>
	</view>
	
</template>

<script>
	export default {
		name:"zui-text",
		props: {
			size:{
				type:[String,Number]
			},
			color:{
				type:[String,Number]
			}
		},
		data() {
			return {
				
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.zui-text {
	display: inline-block;
	color: #fff;
	font-size: 28rpx;
}
</style>
